package io.renren.modules.practice.constant;

public enum PracticeAlgorithmSubmitStatusConstant {
    /**
     * 程序执行状态
     */
    Accepted(0, "Accepted"),
    WrongAnswer(1, "Wrong Answer"),
    CompilationError(2, "Compilation Error"),
    RuntimeError(3, "Runtime Error"),
    SystemInternalError(4, "System Internal Error");


    private Integer id;

    private String name;

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    PracticeAlgorithmSubmitStatusConstant(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}